package com.example.movie.mate.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.movie.mate.pojo.entity.PlaySchedule;
import com.example.movie.mate.pojo.vo.PlayScheduleVO;

import java.time.LocalDate;
import java.util.List;

/**
 * 放映计划Mapper接口
 */
public interface PlayScheduleMapper extends BaseMapper<PlaySchedule> {

    PlayScheduleVO selectById(Long id);

    List<PlayScheduleVO> selectByMovieIdAndDate(Long movieId, LocalDate date);

    List<PlayScheduleVO> selectByHallIdAndDate(Long hallId, LocalDate date);

}